const Service = require('egg').Service
class MyProductService extends Service {
  async getProductList() {
    const {ctx} = this
     return await ctx.model.ProductName.findAll({
      include: [
        {model: this.app.model.ProductTags},
        {model: this.app.model.ProductImage}
      ]
    })
  }
}
module.exports = MyProductService